From c148c41babe1644f427b3d60ca71d28860953e5e Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Thu, 21 Sep 2006 11:19:25 +0000 Subject: [PATCH] fix cast: it's drawable_impl->wrapper that is the GdkWindow, not the 2006-09-21 Michael Natterer * gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_begin_paint_region): fix cast: it's drawable_impl->wrapper that is the GdkWindow, not the drawable_impl itself. --- ChangeLog | 8 ++++++++ gdk/quartz/gdkwindow-quartz.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f2ab3837dd..e9f896e223 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,12 @@ +2006-09-21 Michael Natterer + + * gdk/quartz/gdkwindow-quartz.c + (gdk_window_impl_quartz_begin_paint_region): fix cast: it's + drawable_impl->wrapper that is the GdkWindow, not the + drawable_impl itself. + 2006-09-20 Behnam Esfahbod + * gdk/x11/gdkkeys-x11.c: (get_direction): just check the first shift-level of keyboard layout for RTL and LTR keysyms() (compliment to #116626) diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index 0625dd8d98..e01e0046d6 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -189,7 +189,7 @@ gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable, x_offset = y_offset = 0; - window = GDK_WINDOW (GDK_DRAWABLE_IMPL_QUARTZ (impl)); + window = GDK_WINDOW (GDK_DRAWABLE_IMPL_QUARTZ (impl)->wrapper); while (window && ((GdkWindowObject *) window)->bg_pixmap == GDK_PARENT_RELATIVE_BG) { /* If this window should have the same background as the parent, -- 2.30.2